package learning.springdi;

public class SpringTest {
    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext();
        HelloService helloService = (HelloService) context.getBean("helloService");
        helloService.sayHello();
    }
}
